fixed const problem