fixed bug with sizes