remove line feed after $
fixed PSR2 coding standard