thanks for al the posts.

fixed it with the $bytes function