Tried to fix editor bug