added red border errors