fixing issue with fixed position setting