added some consts

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
nice ;-)