bug fix for cast and director
Merge branch 'dev' of https://github.com/fisterryan/Popcorn into dev