If you are still receiving an error post your entire source code to see if there is a particular issue. But that statement should not give you an error.