this was displaying weird in some cases