fixes minor bug