Fixed a bug that prevent the app from compiling.