Fixed wrong variables assignment