fixed php error in dinmonstring controller