Please post a COMPLETE example of what you are doing otherwise it is unclear as to what to suggest.