changed method to strip newlines as Android complained.