Fix variable definition error - fpm class needs some love