Fixed display bug and removed casting mode