fixing static problem