fixed bug in shape