Fix to realizing bug