The best way for us to help is if you post the smallest code example that we can run and which also demonstrates the problem you have. Make sure to also post the output you get and the output you expect. Use "code" tags: read Writeup Formatting Tips. See also http://sscce.org