fixed bug for picture height in layer 3