added trim to properties read