Fixed compile error that didn't show in Eclipse