Fixes variable declaration