fixed velocity exception caused by use of directive ifnotnull. Still page is not loading.