fixed compilation errors from changd game elements constructor