fixed bugs on empty static background