Use .first() instead of [0]... thanks elrond :)