fixed invalid css in magic_space