fixed bugs on logo placement