fix php warnings in map widget skin