fixing restrictions