fixing resource spacing