fixed functin espandi