changed custom layer to use png32